package com.xiaofengstu.mcams.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.web.bind.annotation.RestControllerAdvice;

/**
 * @Author FengZeng
 * @Date 2022-05-11 00:01
 * @Description TODO
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
@NoArgsConstructor
public class BizException extends RuntimeException {
  /**
   * 错误码
   */
  protected Integer errorCode;
  /**
   * 错误信息
   */
  protected String errorMsg;
}
